public class Fan
{
  boolean fanOn=false;
  
  public boolean activateFan()
  {
    fanOn=true;
    return fanOn;
  }
  
   public boolean deactivateFan()
  {
    fanOn=false;
    return fanOn;
  }
  
}